Trò chơi Tic-Tac-Toe, game đánh caro full source code
2 // <summary>The Photon Chat Api enables clients to connect to a chat server and communicate with other clients.</summary>
3 // <remarks>ChatClient is the main class of this api.</remarks>
4 // <copyright company="Exit Games GmbH">Photon Chat Api - Copyright (C) 2014 Exit Games GmbH</copyright>
5 // ----------------------------------------------------------------------------------------------------------------------
6
7 namespace ExitGames.Client.Photon.Chat
8 {
9 /// <summary>
10 /// Wraps up codes for operations used internally in Photon Chat. You don't have to use them directly usually.
11 /// </summary>
12 public class ChatOperationCode
13 {
14 /// <summary>(230) Operation Authenticate.</summary>
15 public const byte Authenticate = 230;
16
17 /// <summary>(0) Operation to subscribe to chat channels.</summary>
18 public const byte Subscribe = 0;
19 /// <summary>(1) Operation to unsubscribe from chat channels.</summary>
20 public const byte Unsubscribe = 1;
21 /// <summary>(2) Operation to publish a message in a chat channel.</summary>
22 public const byte Publish = 2;
23 /// <summary>(3) Operation to send a private message to some other user.</summary>
24 public const byte SendPrivate = 3;
25
26 /// <summary>(4) Not used yet.</summary>
27 public const byte ChannelHistory = 4;
28
29 /// <summary>(5) Set your (client's) status.</summary>
30 public const byte UpdateStatus = 5;
31 /// <summary>(6) Add friends the list of friends that should update you of their status.</summary>
32 public const byte AddFriends = 6;
33 /// <summary>(7) Remove friends from list of friends that should update you of their status.</summary>
34 public const byte RemoveFriends = 7;
35 }
36 }
----------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------
Wraps up codes for operations used internally in Photon Chat. You don't have to use them directly usually.